package com.huage_07.lesson_07;

import java.util.Properties;
import java.util.Set;

public class PropertiesDemo {
    public static void main(String[] args) {
        Properties prop = new Properties();

        prop.put("张三",23);
        prop.put("李四",24);
        prop.put("王五",25);

        Set<Object> objects = prop.keySet();
        for (Object value : objects){
            System.out.println(prop.get(value)+","+value);
        }
    }
}
